package com.xls.dormitoryservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xls.dormitoryservice.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xls.dormitoryservice.vo.NoticeQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface NoticeService extends IService<Notice> {

    boolean saveNotice(Notice notice);

    boolean updateNotice(Notice notice);

    Page<Notice> getNoticePage(Integer page, Integer limit, NoticeQuery noticeQuery);

}
